package com.youi.service;

import com.youi.entity.MarketTheme;
import com.youi.entity.Sysuser;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.Map;

public interface MarketThemeService extends  BaseService<MarketTheme> {
    MarketTheme getByCode(@Param("code")String code);
    Map<String,String> saveOrEditMarketTheme(Long id, MarketTheme marketTheme, String ip, Sysuser sysuser, String themeName, Date gmtBegin, Date gmtEnd, String headers, String goods, String advertisements);
    void updateThemeEndedStatus();
}
